﻿Imports JPC.Medialibrary.BLL
Imports System.Web.Services

Partial Class UpdateMusic
    Inherits System.Web.UI.Page

    <WebMethod()> _
    Public Shared Function GetProcessingStatus() As Array
        Dim aReturn(5) As String
        aReturn(0) = ProcessingStatus.AlbumsQty.ToString
        aReturn(1) = ProcessingStatus.ArtistsQty.ToString
        aReturn(2) = ProcessingStatus.SongsQty.ToString
        aReturn(3) = ProcessingStatus.TagsQty.ToString
        aReturn(4) = ProcessingStatus.Processing.ToString
        aReturn(5) = Mid(ProcessingStatus.Folder, InStrRev(ProcessingStatus.Folder, "\") + 1)
        Return aReturn
    End Function

End Class
